﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EfCoreDemo.Domain
{
    public class Resume
    {
        public int Id { get; set; }

        public string Description { get; set; }

        //指明它与 Player 是1：1 关系，同时 Player 上也要建立它的导航属性和外键属性
        public int PlayerId { get; set; }

        public Player Player { get; set; }
    }
}
